package com.sd.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lws
 * @since 2019-01-25
 */
@TableName("tk_item_coupon")
@Data
public class ItemCoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺名称
     */
    private String shopTitle;

    /**
     * 卖家类型，0表示集市，1表示商城
     */
    private Integer userType;

    /**
     * 折扣价
     */
    private String zkFinalPrice;

    /**
     * 商品标题
     */
    private String title;

    /**
     * 卖家昵称
     */
    private String nick;

    /**
     * 卖家id
     */
    private Long sellerId;

    /**
     * 30天销量
     */
    private String volume;

    /**
     * 商品主图
     */
    private String pictUrl;

    /**
     * 商品详情页链接地址
     */
    private String itemUrl;

    /**
     * 优惠券总量
     */
    private Integer couponTotalCount;

    /**
     * 佣金比率(%)
     */
    private String commissionRate;

    /**
     * 满16元减10元(优惠券面额)
     */
    private String couponInfo;

    /**
     * 后台一级类目
     */
    private Long category;

    /**
     * itemId
     */
    private Long numIid;

    /**
     * 优惠券剩余量
     */
    private Integer couponRemainCount;

    /**
     * 优惠券开始时间
     */
    private String couponStartTime;

    /**
     * 优惠券结束时间
     */
    private String couponEndTime;

    /**
     * 商品优惠券推广链接
     */
    private String couponClickUrl;

    private String itemDescription;


    public String getShopTitle() {
        return shopTitle;
    }

    public void setShopTitle(String shopTitle) {
        this.shopTitle = shopTitle;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getZkFinalPrice() {
        return zkFinalPrice;
    }

    public void setZkFinalPrice(String zkFinalPrice) {
        this.zkFinalPrice = zkFinalPrice;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getPictUrl() {
        return pictUrl;
    }

    public void setPictUrl(String pictUrl) {
        this.pictUrl = pictUrl;
    }

    public String getItemUrl() {
        return itemUrl;
    }

    public void setItemUrl(String itemUrl) {
        this.itemUrl = itemUrl;
    }

    public Integer getCouponTotalCount() {
        return couponTotalCount;
    }

    public void setCouponTotalCount(Integer couponTotalCount) {
        this.couponTotalCount = couponTotalCount;
    }

    public String getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(String commissionRate) {
        this.commissionRate = commissionRate;
    }

    public String getCouponInfo() {
        return couponInfo;
    }

    public void setCouponInfo(String couponInfo) {
        this.couponInfo = couponInfo;
    }

    public Long getCategory() {
        return category;
    }

    public void setCategory(Long category) {
        this.category = category;
    }

    public Long getNumIid() {
        return numIid;
    }

    public void setNumIid(Long numIid) {
        this.numIid = numIid;
    }

    public Integer getCouponRemainCount() {
        return couponRemainCount;
    }

    public void setCouponRemainCount(Integer couponRemainCount) {
        this.couponRemainCount = couponRemainCount;
    }

    public String getCouponStartTime() {
        return couponStartTime;
    }

    public void setCouponStartTime(String couponStartTime) {
        this.couponStartTime = couponStartTime;
    }

    public String getCouponEndTime() {
        return couponEndTime;
    }

    public void setCouponEndTime(String couponEndTime) {
        this.couponEndTime = couponEndTime;
    }

    public String getCouponClickUrl() {
        return couponClickUrl;
    }

    public void setCouponClickUrl(String couponClickUrl) {
        this.couponClickUrl = couponClickUrl;
    }

    public String getItemDescription() {
        return itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }

    @Override
    public String toString() {
        return "ItemCoupon{" +
        "shopTitle=" + shopTitle +
        ", userType=" + userType +
        ", zkFinalPrice=" + zkFinalPrice +
        ", title=" + title +
        ", nick=" + nick +
        ", sellerId=" + sellerId +
        ", volume=" + volume +
        ", pictUrl=" + pictUrl +
        ", itemUrl=" + itemUrl +
        ", couponTotalCount=" + couponTotalCount +
        ", commissionRate=" + commissionRate +
        ", couponInfo=" + couponInfo +
        ", category=" + category +
        ", numIid=" + numIid +
        ", couponRemainCount=" + couponRemainCount +
        ", couponStartTime=" + couponStartTime +
        ", couponEndTime=" + couponEndTime +
        ", couponClickUrl=" + couponClickUrl +
        ", itemDescription=" + itemDescription +
        "}";
    }
}
